package com.ruoyi.wms.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存移动详情对象 wms_inventory_movement_detail
 * 
 * @author zmm
 * @date 2023-01-30
 */
public class WmsInventoryMovementDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一值 */
    private Long id;
    private Long deptId;

    @Override
    public Long getDeptId() {
        return deptId;
    }

    @Override
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }
    /** 库存移动Id */
    @Excel(name = "库存移动Id")
    private Long inventoryMovementId;

    /** 物料 */
    @Excel(name = "物料")
    private Long itemId;

    /** 计划数量 */
    @Excel(name = "计划数量")
    private BigDecimal planQuantity;

    /** 实际数量 */
    @Excel(name = "实际数量")
    private BigDecimal realQuantity;

    /** 删除标识 */
    private Integer delFlag;

    /** 源货架 */
    @Excel(name = "源货架")
    private Long sourceRackId;

    /** 源仓库 */
    @Excel(name = "源仓库")
    private Long sourceWarehouseId;

    /** 源库区 */
    @Excel(name = "源库区")
    private Long sourceAreaId;

    /** 移库状态 */
    @Excel(name = "移库状态")
    private Integer moveStatus;

    /** 目标货架 */
    @Excel(name = "目标货架")
    private Long targetRackId;

    /** 目标仓库 */
    @Excel(name = "目标仓库")
    private Long targetWarehouseId;

    /** 目标库区 */
    @Excel(name = "目标库区")
    private Long targetAreaId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInventoryMovementId(Long inventoryMovementId) 
    {
        this.inventoryMovementId = inventoryMovementId;
    }

    public Long getInventoryMovementId() 
    {
        return inventoryMovementId;
    }
    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setPlanQuantity(BigDecimal planQuantity) 
    {
        this.planQuantity = planQuantity;
    }

    public BigDecimal getPlanQuantity() 
    {
        return planQuantity;
    }
    public void setRealQuantity(BigDecimal realQuantity) 
    {
        this.realQuantity = realQuantity;
    }

    public BigDecimal getRealQuantity() 
    {
        return realQuantity;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setSourceRackId(Long sourceRackId) 
    {
        this.sourceRackId = sourceRackId;
    }

    public Long getSourceRackId() 
    {
        return sourceRackId;
    }
    public void setSourceWarehouseId(Long sourceWarehouseId) 
    {
        this.sourceWarehouseId = sourceWarehouseId;
    }

    public Long getSourceWarehouseId() 
    {
        return sourceWarehouseId;
    }
    public void setSourceAreaId(Long sourceAreaId) 
    {
        this.sourceAreaId = sourceAreaId;
    }

    public Long getSourceAreaId() 
    {
        return sourceAreaId;
    }
    public void setMoveStatus(Integer moveStatus) 
    {
        this.moveStatus = moveStatus;
    }

    public Integer getMoveStatus() 
    {
        return moveStatus;
    }
    public void setTargetRackId(Long targetRackId) 
    {
        this.targetRackId = targetRackId;
    }

    public Long getTargetRackId() 
    {
        return targetRackId;
    }
    public void setTargetWarehouseId(Long targetWarehouseId) 
    {
        this.targetWarehouseId = targetWarehouseId;
    }

    public Long getTargetWarehouseId() 
    {
        return targetWarehouseId;
    }
    public void setTargetAreaId(Long targetAreaId) 
    {
        this.targetAreaId = targetAreaId;
    }

    public Long getTargetAreaId() 
    {
        return targetAreaId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inventoryMovementId", getInventoryMovementId())
            .append("itemId", getItemId())
            .append("planQuantity", getPlanQuantity())
            .append("realQuantity", getRealQuantity())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("sourceRackId", getSourceRackId())
            .append("sourceWarehouseId", getSourceWarehouseId())
            .append("sourceAreaId", getSourceAreaId())
            .append("moveStatus", getMoveStatus())
            .append("targetRackId", getTargetRackId())
            .append("targetWarehouseId", getTargetWarehouseId())
            .append("targetAreaId", getTargetAreaId())
            .toString();
    }
}
